using System.Reflection;

namespace RedRiver.Framework.XtraCommon.FastReflection{
    public class MethodInvokerFactory : IFastReflectionFactory<MethodInfo, IMethodInvoker>{
        #region IFastReflectionFactory<MethodInfo,IMethodInvoker> Members

        IMethodInvoker IFastReflectionFactory<MethodInfo, IMethodInvoker>.Create(MethodInfo key){
            return Create(key);
        }

        #endregion

        public IMethodInvoker Create(MethodInfo key){
            return new MethodInvoker(key);
        }
    }
}